import React from 'react';
import {BrowserRouter, Switch} from 'react-router-dom';
import ReduxRouter from '../colyst/component/ReduxRouter';
import Orders from './page/orders/Orders';

class AppRouter extends React.Component{
    render() {
        return(
            <BrowserRouter>
                <Switch>
                    {/* <Route path='/' component={Orders}></Route> */}
                    <ReduxRouter path='/' component={Orders} />
                </Switch>
            </BrowserRouter>
        )
    }
}

export default AppRouter